package qst.com.bacK.service;

import qst.com.bacK.pojo.dto.RegisterDTO;
import qst.com.bacK.pojo.entity.Team;
import qst.com.bacK.pojo.entity.TestPersonnel;
import qst.com.bacK.pojo.entity.User;

import java.io.IOException;
import java.sql.SQLException;
import java.util.List;

/**
 * Author:   msh
 * Date:     2024/10/8 下午8:38
 * Description:
 */

public interface UserService {

    List<Team> showAllTeam();

    User findUserByLoginCount(String loginCount);

    void addTestPersonnel(TestPersonnel testPersonnel);

    User login(String login, String password);

    void updatePassword(Integer id,String oldPasswd, String newPasswd);
}
